package cn.axj.crypt.secret;

import org.springframework.http.HttpHeaders;

import java.io.InputStream;

/**
 * @author aoxiaojun
 * @date 2020/12/14 16:43
 **/
public abstract class BaseAlgorithmHttpInputMessage implements AlgorithmHttpInputMessage{

    private InputStream body;

    private HttpHeaders headers;


    @Override
    public InputStream getBody() {
        return this.body;
    }

    @Override
    public HttpHeaders getHeaders() {
        return this.headers;
    }

    public void setBody(InputStream body) {
        this.body = body;
    }

    public void setHeaders(HttpHeaders headers) {
        this.headers = headers;
    }
}
